<td width="753" valign="top"><table width="743" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="14" background="<?php echo SITE_URL?>img/group/tiezi/tiezi_r1_c12.jpg"><img src="<?php echo SITE_URL?>img/group/tiezi/tiezi_r1_c1.jpg" width="14" height="40" /></td>
        <td width="692" background="<?php echo SITE_URL?>img/group/tiezi/tiezi_r1_c12.jpg"><span class="yhbig">讨论分类&nbsp;&gt;&gt;&nbsp;主题：</span><?php echo $topic->getName();?></td>
        <td width="37" align="right" background="<?php echo SITE_URL?>img/group/tiezi/tiezi_r1_c12.jpg"><img src="<?php echo SITE_URL?>img/group/tiezi/tiezi_r1_c16.jpg" width="6" height="40" /></td>
      </tr>
    </table>
      <table width="743" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="5"></td>
        </tr>
      </table>
      <table width="743" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="18" background="<?php echo SITE_URL?>img/group/tiezi/tiezi_r3_c6.jpg"><img src="<?php echo SITE_URL?>img/group/tiezi/tiezi_r3_c2.jpg" width="4" height="39" /></td>
          <td width="531" background="<?php echo SITE_URL?>img/group/tiezi/tiezi_r3_c6.jpg" class="indexdh">回复&nbsp;&nbsp; 新帖</td>
          <td width="164" background="<?php echo SITE_URL?>img/group/tiezi/tiezi_r3_c6.jpg" class="indexdh">回复/人气:<span class="tit"><? echo $topic->getReplayNum();?></span>/<span class="tit"><? echo $topic->getVisitNum();?></span></td>
          <td width="30" align="right" background="<?php echo SITE_URL?>img/group/tiezi/tiezi_r3_c6.jpg"><img src="<?php echo SITE_URL?>img/group/tiezi/tiezi_r3_c17.jpg" width="5" height="39" /></td>
        </tr>
      </table>
      <table width="743" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="5"></td>
        </tr>
      </table>
      <table width="743" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="<?php echo SITE_URL?>img/group/photoview/group_photoview_r1_c4.jpg" width="743" height="14" /></td>
      </tr>
    </table>
      <table width="743" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="47" valign="top" background="<?php echo SITE_URL?>img/group/photoview/group_photoview_r3_c4.jpg">
          <script type="text/javascript">
		   loginid = '<?php echo  $loginid; ?>';
		   function addfriend(fid){
		   		if(fid<=0) return false;
				if(loginid<=0) {
					alert('请先登陆!');
					return false;
				}
				location.href = '<?php echo SITE_URL?>sns/cp.php?ac=friend&op=add&uid=' + fid;
		   }
		  </script>
          <?php 
		  foreach ($comments_list as $i => $c){
		  ?>
          <table width="705" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td width="145" height="15"><table width="48" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td><img src="<?php echo SITE_URL?>img/group/tiezi/tiezi_r7_c3.jpg" width="138" height="9" /></td>
                </tr>
              </table>
                <table width="138" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="72" valign="top" background="<?php echo SITE_URL?>img/group/tiezi/tiezi_r9_c3.jpg"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr>
                        <td align="center"><img src="<?php echo SITE_URL?>img/group/tiezi/photolist_r5_c3.jpg" width="110" height="110" class="img" /></td>
                      </tr>
                      <tr>
                        <td  height="25" class="word">用户名：<? if($c->getUcMembers()!=NULL) echo $c->getUcMembers()->getUsername();?></td>
                      </tr>
                      <tr>
                        <td height="25" class="word">发帖数:<? echo $c->poster->cnum;?></td>
                      </tr>
                      <tr>
                        <td height="25" class="word">回复数：<? echo $c->poster->tnum;?></td>
                      </tr>
                      <tr>
                        <td height="25" class="word">财富：<? echo $c->poster->getCredit();?></td>
                      </tr>
                      <tr>
                        <td><table width="82" height="31" border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr>
                            <td background="<?php echo SITE_URL?>img/anniu/anniu_r14_c5.png">&nbsp;<span class="tit"> <a href="<?php echo SITE_URL?>sns/cp.php?ac=friend&op=add&uid=<?php echo $c->getUcMembers()->getUid();?>" onclick="return addfriend(<?php echo $c->getUcMembers()->getUid();?>);">加为好友</a></span></td>
                          </tr>
                        </table></td>
                      </tr>
                    </table></td>
                  </tr>
                </table>
                <table width="138" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><img src="<?php echo SITE_URL?>img/group/tiezi/tiezi_r11_c3.jpg" width="138" height="8" /></td>
                  </tr>
                </table></td>
              <td width="560" valign="top"><table width="560" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="14" background="<?php echo SITE_URL?>img/group/tiezi/tiezi_r1_c12.jpg"><img src="<?php echo SITE_URL?>img/group/tiezi/tiezi_r1_c1.jpg" width="14" height="40" /></td>
                  <td width="391" background="<?php echo SITE_URL?>img/group/tiezi/tiezi_r1_c12.jpg" class="tit">发表于：<? echo $c->getCreatedAt();?> </td>
                  <td width="144" background="<?php echo SITE_URL?>img/group/tiezi/tiezi_r1_c12.jpg" class="imgdp">楼主</td>
                  <td width="11" align="right" background="<?php echo SITE_URL?>img/group/tiezi/tiezi_r1_c12.jpg"><img src="<?php echo SITE_URL?>img/group/tiezi/tiezi_r1_c16.jpg" width="6" height="40" /></td>
                </tr>
              </table>
                <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td>&nbsp;</td>
                  </tr>
                  <tr>
                    <td class="word">&nbsp;<? echo $c->getContent();?></td>
                  </tr>
                </table></td>
            </tr>
            <tr></tr>
          </table>
            <table width="90%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td>&nbsp;</td>
              </tr>
            </table>
            <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td bgcolor="#b3afa6" height="1"></td>
              </tr>
            </table>
            
            <?php } ?>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td bgcolor="#b3afa6" height="1"></td>
                    </tr>
            </table>
            <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td bgcolor="#b3afa6" height="1"></td>
              </tr>
            </table>
            <table width="90%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td>&nbsp;</td>
              </tr>
            </table>
            <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td bgcolor="#b3afa6" height="1"></td>
              </tr>
            </table>
            <table width="90%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center"><span class="word">当前第<?php echo $comments->getPage();?> 页，共<?php echo $comments->getLastPage();?>页&nbsp;</span>&nbsp;<span class="yh">
                  <?php 
                    $pageurl = '/tong/topic/?tid='.$tong->getId().'&topicid='.$topic->getId().'&page=';
                    $prestr = '上页';
                    $nextstr = '下页';
                  	echo pager($comments,$pageurl,$prestr,$nextstr);
				?>
                </span></td>
              </tr>
          </table></td>
        </tr>
      </table>
      <table width="753" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="753" height="5"></td>
        </tr> 
      </table>
      <table width="553" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="<?php echo SITE_URL?>img/group/photoview/group_photoview_r1_c4.jpg" width="743" height="14" /></td>
        </tr>
      </table>
      <table width="743" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td background="<?php echo SITE_URL?>img/group/photoview/group_photoview_r3_c4.jpg" height="25" class="tit">&nbsp;&nbsp;我也说两句</td>
        </tr>
        <tr>
          <td align="center" background="<?php echo SITE_URL?>img/group/photoview/group_photoview_r3_c4.jpg">
          <form action="<?php echo SITE_URL?>comments/Update/" method="post" name="commentform">
            <textarea name="content" cols="50" rows="5" class="textinfo"></textarea>
            <input type="hidden" name="object_id" value="<?php echo $topic->getId();?>" />
            <input type="hidden" name="object_type" value="tong" /> 
            <input type="hidden" name="backUrl" value="<?php echo SITE_URL?>tong/topic/tid/<?php echo $tong->getId();?>/topicid/<?php echo $topic->getId();?>/page/<?php echo $comments->getPage();?>/created/set" />
          </form>
          </td>
        </tr>
        <tr>
          <td background="<?php echo SITE_URL?>img/group/photoview/group_photoview_r3_c4.jpg" height="50"><table width="48" height="31" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td background="<?php echo SITE_URL?>img/anniu/anniu_r16_c8.png">&nbsp;&nbsp;&nbsp;<span class="login" onclick="javascript:commentform.submit();">发表</span></td>
            </tr>
          </table></td>
        </tr>
      </table>
  <table width="47" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="<?php echo SITE_URL?>img/group/photoview/group_photoview_r13_c4.jpg" width="743" height="10" /></td>
        </tr>
  </table></td>